#ifndef __CRYPTSYMCIPHERAP_H__
#define __CRYPTSYMCIPHERAP_H__

	#define CRYPTSYMCIPHERAP_MODE_ENCRYPT		0
	#define CRYPTSYMCIPHERAP_MODE_DECRYPT		1

	extern UINT16 CryptSymCipherAP_CipherInit(UINT8 Mode, UINT8 *pInBuf, UINT16 nSize);
	extern UINT16 CryptSymCipherAP_Cipher(UINT8 Mode, UINT8 *pInBuf, UINT16 nSize, UINT8 *pOutBuf, UINT16 *pLen);
	extern UINT16 CryptSymCipherAP_CipherUpdate(UINT8 IsForceAligned, UINT8 Mode, UINT8 *pInBuf, UINT16 nSize, UINT8 *pOutBuf, UINT16 *pLen);
	extern UINT16 CryptSymCipherAP_CipherFinal(UINT8 Mode, UINT8 *pInBuf, UINT16 nSize, UINT8 *pOutBuf, UINT16 *pLen);

#endif
